<%--
  Created by IntelliJ IDEA.
  User: 怪物大师
  Date: 2024/4/26
  Time: 21:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String str = request.getParameter("str");
    session.setAttribute("str",str);
    session.setAttribute("strlen",str.length());
%>
字符串为${str}
字符串长度为${strlen}


</body>
</html>
